/**
 * 
 */
package sqs.exception;

import sqs.model.Question;

/**
 * @author kjleng
 *
 */
public class MandatoryQnNotAnsException extends Exception {
	private Question unAnsweredQuestion;
	
	public Question getUnAnsweredQuestion() {
		return unAnsweredQuestion;
	}
	public void setUnAnsweredQuestion(Question unAnsweredQuestion) {
		this.unAnsweredQuestion = unAnsweredQuestion;
	}
	public MandatoryQnNotAnsException(){
		super("Please answer all mandatory questions!");
	}
	public MandatoryQnNotAnsException(String msg){
		super(msg);
	}
}
